import time
from selenium import webdriver
from selenium.webdriver.common.by import By
driver = webdriver.Chrome()
driver.maximize_window()
driver.implicitly_wait(5)
driver.get("http://192.168.0.108/")
driver.find_element(By.CSS_SELECTOR, '.red').click()
driver.find_element(By.ID, 'username').send_keys("13125056588")
driver.find_element(By.ID, 'password').send_keys("Dd11")
driver.find_element(By.CSS_SELECTOR, '.login_bnt').click()
driver.get_screenshot_as_file("file/login_error.png")
time.sleep(5)
driver.quit()